
const mutations = {
	setAllMenuList(state, allMenuList){
		state.allMenuList = allMenuList
	},
	/*追加动态路由*/
	addDynamicRouter(state, dynamicRouter){
		state.dynamicRouter.push(dynamicRouter)
	},
	/*追加侧边栏菜单*/
	setSidebar(state, sidebar){
		state.sidebar.push(sidebar)
	},
	setNavbar(state, navbar){
		state.navbar = navbar
	},
	setComID(state, comid){
		state.comid = comid
	},
	/*注释原因：在api配置文件里加了域，每次加应用都必须在配置文件里加，所以需要放到 仓库 了*/
	// setAppLink(state, appLink){
	// 	state.appLink = appLink
	// }
}

export default mutations